<%-- 
    Document   : editQuestion
    Created on : Oct 29, 2009, 3:00:57 PM
    Author     : Administrator
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <%
            int id = Integer.parseInt(request.getParameter("id"));
            String Content = request.getParameter("Content");
            float Mark = Float.parseFloat(request.getParameter("Mark"));
            int key = Integer.parseInt(request.getParameter("key"));

        %>
        <form action="include/actionUpdateQuestion.jsp" method="post">
        <table border="1">
            <thead>
                <tr>
                    <th></th>
                    <th></th>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <td>Content Question : </td>
                    <td><input type="text" name="ContentQuestion" value="<%=Content%>" /></td>
                </tr>
                <tr>
                    <td>Mark : </td>
                    <td><input type="text" name="Mark" value="<%=Mark%>" /></td>
                </tr>
            </tbody>
        </table>
                    <input  type="hidden" value="<%=id%>" name="QuestionID" />
                    <input type="hidden" value="<%=key %>" name="key">
            <input  type="submit" value="Update Question " />
        </form>
    </body>
</html>
